<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
date_default_timezone_set("PRC");

class MY_Controller extends CI_Controller{
    public function __construct(){
        parent::__construct();
    }
 
    public function is_logged_in(){
        $user = $this->session->userdata('user');
        return $user;
    }
}
